using System;
using System.Collections.Generic; 
using System.Collections;
using System.Linq;
using System.Diagnostics;
using System.Xml;
using System.Xml.Schema; 
using System.Xml.Linq; 
using System.Xml.XPath;
using Metaspec;
using AbstraX.ParserInterfaces;

namespace CsParser
{
	/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/GetSetPropertyElement[@Property='getCsFile()']/AssemblyType[@Type='Metaspec.CsFile']
	/// Name=CsFile
	/// 
	/// ****************** DataType ******************
	/// 
	/// Type='CsFile'
	/// FQN='Metaspec.CsFile'
	/// IsCollectionType='False'
	/// 
	/// 
	/// ****************** Description ******************
	/// 
	/// GetSet Property Type
	/// 
	/// 
	/// ****************** Modifiers ******************
	/// 
	/// CanRead=false
	/// CanWrite=false
	/// IsLocal=false
	/// NotNavigable=false
	/// NotApplicable=false
	/// 
	/// **********************************************
 	public class CodeFile : ICodeFile
	{
		private CsFile csFile;

        public CodeFile(CsFile csFile) 
        {
            this.csFile = csFile;
        }

		/// ------------------------------------ PropertyBinding ------------------------------------
		/// 
		/// Name: path
		/// BindingMode: TwoWay
		/// BindingSourceType: AbstraXBindingSource
		/// IsSearchable: false
		/// 
		/// ****************** BindingAttribute ******************
		/// 
		/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/GetSetPropertyElement[@Property='getCsFile()']/AssemblyType[@Type='Metaspec.CsFile']/FieldAttribute[@Field='path']
		/// Name=path
		/// 
		/// ****************** DataType ******************
		/// 
		/// Type='String'
		/// TypeCode='Empty'
		/// 
		/// 
		/// ****************** Modifiers ******************
		/// 
		/// CanRead=true
		/// CanWrite=true
		/// IsLocal=true
		/// NotNavigable=false
		/// NotApplicable=false
		/// 
		/// **********************************************
		/// 
		/// *****************************************************
		/// 
		/// 
		/// ----------------------------------------------------------------------------------
        public String Path 
        { 
            get
            {
				return csFile.path;
            }
            set
            {
				csFile.path = value;
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'buffer' returns type: 'System.Char'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public Char[][] Buffer 
        { 
            get
            {
                
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'unit' returns type: 'Metaspec.CsCompilationUnit'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public CsCompilationUnit Unit 
        { 
            get
            {
				return new CsCompilationUnit(csFile.unit);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'tokens' returns type: 'Metaspec.CsToken'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public List<CsToken> Tokens 
        { 
            get
            {
                
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'ppline_infos' returns type: 'Metaspec.ppline_info'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public ppline_info[][] Ppline_infos 
        { 
            get
            {
                
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'pass' returns type: 'Metaspec.cs_pass'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public cs_pass Pass 
        { 
            get
            {
				return new cs_pass(csFile.pass);
            }
        }

    }
}
